package com.circle.interests.biz.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.circle.interests.biz.entity.PrizeCategory;
import com.circle.interests.biz.request.PrizeCategoryPageRequest;
import com.circle.interests.biz.request.PrizeCategoryRequest;

/**
 * <p>
 * 奖品分类 服务类
 * </p>
 *
 * @author generator
 * @since 2021-12-05
 */
public interface IPrizeCategoryService extends IService<PrizeCategory> {

    IPage<PrizeCategory> page(PrizeCategoryPageRequest form);

    PrizeCategory add(PrizeCategoryRequest form);

    void updateById(PrizeCategoryRequest form);

    void deleteById(Long id);

    PrizeCategory getByName(String name);
}
